<?php

class Field {
   var $nome,$valor,$vOld;//$string;

   function Field($nome,$valor){
       $this->nome = $nome;
       $this->valor = $valor;
       $this->vOld = $this->valor; 
   }
   function getVOld(){return $this->vOld;}
   function getNome(){return $this->nome;}
   function getValor(){return $this->valor;}
   function setNome($nome){$this->nome = $nome;}
   function setValor($valor){
       $this->vOld = $this->valor;
       $this->valor = $valor;

   }
   
   function isNull(){ return ($this->valor == ""); }

   
   

}
?>
